package com.dkm.ec.sale.persistence.dao;
import java.util.List;
import java.util.Map;

import com.dkm.base.db.persistence.dao.IQueryDao;
import com.dkm.ec.sale.persistence.entity.SaleSkuGroupPo;

/**
 * 对象功能:销售产品SKU自定义组 QueryDao接口
 * 开发公司:SKG.COM
 * 开发人员:HJD
 * 创建时间:2015-07-08 17:38:34
 */
public interface SaleSkuGroupQueryDao extends IQueryDao<String, SaleSkuGroupPo> {
	
	public List<SaleSkuGroupPo> findGroups(Map<String, Object> params);
	
	/**
	 * 根据group的键值获取分组详细信息
	 * @param groupKey
	 * @return
	 */
	public List<SaleSkuGroupPo> findGroupsByGroupKey(Map<String, Object> params);
	
	
	public SaleSkuGroupPo findGroupByGroupKey(Map<String, Object> params);
	
	public Integer countGroup();

	public List<SaleSkuGroupPo> findAppointOptLists();
}
